package eteam.aps.model.export.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * ClassName QualityExport
 *
 * @author Ll
 * @since 2025/5/28
 * Description 质检数据导出
 */
@Getter
@Setter
@ApiModel("质检数据导出")
public class QualityExport {
    @ApiModelProperty("日期")
    @ExcelProperty(value = "日期")
    private LocalDateTime date = null;
    @ApiModelProperty("班次")
    @ExcelProperty(value = "班次")
    private String work;
    @ApiModelProperty("客户")
    @ExcelProperty(value = "客户")
    private String customer;
    @ApiModelProperty("制令号")
    @ExcelProperty(value = "制令号")
    private String mocCode;
    @ApiModelProperty("产品类型")
    @ExcelProperty(value = "产品类型")
    private String productType;
    @ApiModelProperty("物料名称")
    @ExcelProperty(value = "物料名称")
    private String invName;
    @ApiModelProperty("物料规格")
    @ExcelProperty(value = "物料规格")
    private String invStd;
    @ApiModelProperty("物料编号")
    @ExcelProperty(value = "物料编号")
    private String invCode;
    @ApiModelProperty("产品条码")
    @ExcelProperty(value = "产品条码")
    private String barCode;
    @ApiModelProperty("质检工序")
    @ExcelProperty(value = "质检工序")
    private String wpCode;
    @ApiModelProperty("校验数")
    @ExcelProperty(value = "校验数")
    private int checkNum = 1;
    @ExcelIgnore
    private Boolean goodOrNot;
    @ApiModelProperty("不良数")
    @ExcelProperty(value = "不良数")
    private int invalidNum;
    @ApiModelProperty("不良类型")
    @ExcelProperty(value = "不良类型")
    private String questionClassification;
    @ApiModelProperty("不良现象")
    @ExcelProperty(value = "不良现象")
    private String undesirablePhenomena;
    @ApiModelProperty("处理方式")
    @ExcelProperty(value = "处理方式")
    private String handlingInformation;
    @ApiModelProperty("责任部门")
    @ExcelProperty(value = "责任部门")
    private String responsibleDepartment;
    @ApiModelProperty("质检员")
    @ExcelProperty(value = "质检员")
    private String qcOperator;
    @ApiModelProperty("责任人")
    @ExcelProperty(value = "责任人")
    private String peopleInCharge;
    @ApiModelProperty("互检人")
    @ExcelProperty(value = "互检人")
    private String peopleInMutualInspection;
    @ApiModelProperty("处理人")
    @ExcelProperty(value = "处理人")
    private String handler;
    @ApiModelProperty("QC确认人")
    @ExcelProperty(value = "QC确认人")
    private String qcConfirmor;
    @ApiModelProperty("原因分析")
    @ExcelProperty(value = "原因分析")
    private String reasonAnalyse;
    @ApiModelProperty("分析人")
    @ExcelProperty(value = "分析人")
    private String reasonAnalysePerson;
    @ApiModelProperty("纠正措施")
    @ExcelProperty(value = "纠正措施")
    private String correctiveActions;
    @ApiModelProperty("实施日期")
    @ExcelProperty(value = "实施日期")
    private LocalDate implementDate;
    @ApiModelProperty("效果确认")
    @ExcelProperty(value = "效果确认")
    private String effectConfirmation;
    @ApiModelProperty("物料问题提供方")
    @ExcelProperty(value = "物料问题提供方")
    private String itemIssueProvider;
    @ApiModelProperty("报告编号")
    @ExcelProperty(value = "报告编号")
    private String reportNumber;
    @ApiModelProperty("备注")
    @ExcelProperty(value = "备注")
    private String remark;
}
